package com.zhuiyi.yiqingbackend.service;

import com.zhuiyi.yiqingbackend.common.BaseResponse;
import com.zhuiyi.yiqingbackend.domain.Patient;
import com.zhuiyi.yiqingbackend.domain.request.AddConfirmPatientRequest;
import com.zhuiyi.yiqingbackend.domain.request.AddPatientRequest;
import com.zhuiyi.yiqingbackend.domain.request.MasterUpdateStatuRequest;
import com.zhuiyi.yiqingbackend.domain.request.PatientUpdateStatusRequest;
import com.zhuiyi.yiqingbackend.domain.response.PatientResponse;

import java.util.List;

public interface PatientService {
    List<PatientResponse> getPatients();

    boolean addPatient(AddPatientRequest request);
    boolean addPatient2(AddConfirmPatientRequest request);

    boolean deletePatientById(int id);

    PatientResponse getPatientById(int id);

    boolean updatePatient(Patient patient);

    Patient getPatientByBaseID(int baseid);

    boolean updateStatus(PatientUpdateStatusRequest request);

}
